package com.hzjh.base.frame

import androidx.lifecycle.LifecycleOwner
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel

open class BaseViewModel: ViewModel() {
    companion object {
        internal const val POP_OWNER = -1
    }

    internal val viewBaseLD: MutableLiveData<Int> = MutableLiveData<Int>(0)
    fun popSelfOwner() {
        viewBaseLD.postValue(POP_OWNER)
    }


    val errMsg = MutableLiveData<String>()

}